<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>  
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看档案</title>
</head>
<body>
<s:if test="filesList != null"><s:iterator value="filesList">
<p>详细档案：</p>
<p>籍贯：<input type="text" name="files.nativePlace" value="${nativePlace}" readOnly="readonly"></p>
<p>户口：<input type="text" name="files.resident" value="${resident}" readOnly="readonly"></p>
<p>住址：<input type="text" name="files.address" value="${address}" readOnly="readonly"></p>
<p>联系方式：<input type="text" name="files.phone" value="${phone}" readOnly="readonly"></p>
<p>邮箱：<input type="text" name="files.email" value="${email}" readOnly="readonly"></p>
<p>婚姻状态：<input type="text" name="files.maritalStatus" value="${maritalStatus}" readOnly="readonly"></p>
<p>毕业院校：<input type="text" name="files.graduatingSchool" value="${graduatingSchool}" readOnly="readonly"></p>
<p>学位：<input type="text" name="files.degree" value="${degree}" readOnly="readonly"></p>
<p>出生年月：<input type="date" name="files.birthday" value="<fmt:formatDate value="${birthday}" pattern="yyyy-MM-dd"/>" ></p>
<p>身份证号：<input type="text" name="files.idcardNumber" value="${idcardNumber}" readOnly="readonly"></p>
<p>入职时间：<input type="date" name="files.hiredate" value="<fmt:formatDate value="${hiredate}" pattern="yyyy-MM-dd"/>" ></p>
<p>政治面貌：<input type="text" name="files.politicsStatus" value="${politicsStatus}" readOnly="readonly"></p>
<p>纸质档案文件编号：<input type="text" name="files.fileNumber" value="${fileNumber}" readOnly="readonly"></p>
</s:iterator></s:if>
<s:else>
<p>档案为空！</p>
<p>详细档案：</p>
<p>籍贯：<input type="text" name="files.nativePlace" readOnly="readonly"></p>
<p>户口：<input type="text" name="files.resident" readOnly="readonly"></p>
<p>住址：<input type="text" name="files.address" readOnly="readonly"></p>
<p>联系方式：<input type="text" name="files.phone" readOnly="readonly"></p>
<p>邮箱：<input type="text" name="files.email" readOnly="readonly"></p>
<p>婚姻状态：<input type="text" name="files.maritalStatus" readOnly="readonly"></p>
<p>毕业院校：<input type="text" name="files.graduatingSchool" readOnly="readonly"></p>
<p>学位：<input type="text" name="files.degree" readOnly="readonly"></p>
<p>出生年月：<input type="date" name="files.birthday" ></p>
<p>身份证号：<input type="text" name="files.idcardNumber" readOnly="readonly"></p>
<p>入职时间：<input type="date" name="files.hiredate" ></p>
<p>政治面貌：<input type="text" name="files.politicsStatus" readOnly="readonly"></p>
<p>纸质档案文件编号：<input type="text" name="files.fileNumber" readOnly="readonly"></p>
</s:else>
</body>
</html>